﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Silverlight.Arcgis.MapTip.DataEntity
{
    /// <summary>
    /// Envelop 的值对像
    /// </summary>
    public class EnvelopValue:System.ComponentModel.INotifyPropertyChanged
    {
        /// <summary>
        /// 声明一个局部变量
        /// </summary>
        ESRI.ArcGIS.Client.Geometry.Envelope _Envelope = new ESRI.ArcGIS.Client.Geometry.Envelope();
        /// <summary>
        /// Envelope 对像
        /// </summary>
        public ESRI.ArcGIS.Client.Geometry.Envelope Envelope
        {
            get {
                return _Envelope;
            }
            set {
                _Envelope = value;
                
                //注册事件
                if (PropertyChanged != null)
                {
                    PropertyChanged(this,new  System.ComponentModel.PropertyChangedEventArgs("Envelope"));
                }
            }
        }



        #region INotifyPropertyChanged 成员
        /// <summary>
        /// 属性值改变事件
        /// </summary>
        public event System.ComponentModel.PropertyChangedEventHandler PropertyChanged;

        #endregion
    }
}
